package com.lanou3g.demo.mapper;

import com.lanou3g.demo.entity.Cost;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface CostMapper {
    List<Cost> findAll(@Param("start") int start, @Param("count") int count);
    int insertOne(Cost cost);
    int updateOne(Cost cost);
    int stsrtOne(Cost cost);
    boolean deleteOne(Cost cost);
    Map<String,Integer> findTotal();
}
